<?php
require_once 'config/config.php';
session_start();
if (!isset($_SESSION['db_is_logged_in']) || $_SESSION['db_is_logged_in'] !== true) { 
  header('Location: login.php'); exit; 
} 
else { 
  print "You are logged in!\n"; 
}
?>

